import Layout from "/@/layout/index.vue";

const transactionSnapshotRouter = {
  path: "/",
  name: "transactionSnapshot",
  component: Layout,
  redirect: "/transactionSnapshot",
  meta: {
    icon: "HomeFilled",
    title: "message.transactionSnapshot",
    showLink: true,
    i18n: true,
    rank: 0
  },
  children: [
    {
      path: "/transaction",
      name: "transaction",
      component: () => import("/@/views/transaction-snapshot/index.vue"),
      meta: {
        title: "message.transactionSnapshot",
        i18n: true,
        showLink: true
      }
    },
    {
      path: "/transactionInfo",
      name: "transactionInfo",
      component: () =>
        import("/@/views/transaction-snapshot/transactionInfo.vue"),
      meta: {
        title: "message.transactionInfo",
        i18n: true,
        showLink: false
      }
    }
  ]
};

export default transactionSnapshotRouter;
